package com.katesoft.scale4j.persistent.model.base;

/**
 * Implementation of this interfaces means that entity can be loaded in a lazy(dirty) way.
 *
 * @author kate2007
 */
public interface IDirtyLoadableEntity
{
    /** forces entity to be loaded, all necessary fields are getting loaded after execution of this method. */
    void forceAttributesLoad();

    /** @return true if entity is dirty loaded, not a proxy. else false. */
    boolean attributesLoaded();
}
